import request from "@/request";

export default {
  getList(params) {
    return request({
      url: "/info/base/list",
      method: "get",
      params,
    });
  },
  getDetail(id) {
    return request({
      url: `/info/base/${id}`,
      method: "get",
    });
  },
  getNoticeList(params) {
    return request({
      url: "/system/notice/personalList",
      method: "get",
      params,
    });
  },
  getNoticeNum() {
    return request({
      url: "/system/notice/personalCount",
      method: "get",
    });
  },
  readNotice(id) {
    return request({
      url: `/system/notice/${id}`,
      method: "get",
    });
  },
};
